Configure CPR Connection
This procedure describes how you configure the connection between WorkZone and the CPR register using WorkZone Configuration Management.
You must apply the parameters IP
and DefFiles
. Regarding the compatibility with earlier versions of WorkZone Content Server, the parameter Subscription
is introduced in connection with subscription.
Guardians without CPR numbers
The Name Type for guardians without CPR numbers is by default set to Name Type P (Person without CPR), but you can change the Name Type by specifying guardianNameType=X in the Parameters column below (step 4), where X is the Name Type to be used instead of P.
Configure the CPR Connection
- Select Start >Configuration Management. The WorkZone Configuration Management window displays.
- Select Operation > External Sources. The WorkZone Configuration Management - Module: External Sources window displays where you can see the configurations for the external data sources.
- Find CPR in the Name column.
- In the Parameters column, enter the following:
- IP indicates the IP address for the internal connection for the CPR integration.
- Subscription=0 indicates that there is no subscription added to the persons (default value). If the parameter
Subscription
is not included in the parameter string, then it corresponds toSubscription=0
. - Subscription=1 indicates, that subscription is added to the persons.
ForceUpdate=J
updates CPR records, even if manual changes have been made to addresses. If addresses have been changed, the addresses are closed, and the new addresses are imported. This is the default. If the parameter is set to N, the addresses that have been changed are not updated if imported again.- Click the empty field to the left of the Name column, and select Database > Save. The information is stored, and the connection between WorkZone Content Server and CPR is defined.
IP=<IP portnummer for CPRKlient>;DefFiles=.\CPRkilde\P12170.*; Assembly=Scanjour.CPRDriver; Class=Scanjour.ImportManager.CPRDriver;ForceUpdate=J